If total number of runs scored in n matches is (n+1)(2^{n+1}-n-2) where n > 1, and the runs scored in the kth match are given by k.2^{n+1–k}, where 1 ≤ k ≤ n. Find n.
If total number of runs scored in n matches is (n+1)(2^{n+1}-n-2) where n > 1, and the runs scored in the kth match are given by k.2^{n+1–k}, where 1 ≤ k ≤ n. Find n.